<!DOCTYPE html>
<!--
Note: the file paths were manually changed inside the report to be relative.

Command used to generate the file:
dotCover.exe analyze "/TargetExecutable=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe" "/TargetWorkingDir=." "/TargetArguments=GetSetTests\bin\Debug\GetSetTests.dll" /Output="dotCover.html" /ReportType=html
-->

<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>GetSet\Bar.cs</title>
    <script type="text/javascript" src="../js/dotcover.sourceview.js"></script>
    <link rel="stylesheet" type="text/css" href="../css/dotcover.report.css" />
  </head>
  <body>
    <pre id="content" class="source-code">
using System;

namespace GetSet
{
    public class Bar
    {
        public int CoveredGet { get; set; } public int UncoveredProperty { get; set; } public int CoveredSet { get; set; }

        public int CoveredGetOnSecondLine { get; set; }
        
        public int CoveredProperty { get; set; }
        
        public int ArrowMethod(bool condition) =&gt; condition ? CoveredGetOnSecondLine : UncoveredProperty;
        
        public int BodyMethod()
        {
            var x = CoveredProperty; CoveredProperty = 1; goto label; UncoveredProperty = 1;

            UncoveredProperty = 1;
            
            label:
            CoveredSet = 1;
            
            return CoveredGet;
        }
    }

    public class FooCallsBar
    {
        public void CallBar(Bar bar)
        {
            Console.WriteLine(bar.CoveredGet);
            Console.WriteLine(bar.CoveredProperty);
        }
    }
}

    </pre>
    <script type="text/javascript">
      highlightRanges([[7,33,7,37,1],[7,38,7,42,0],[7,76,7,80,0],[7,81,7,85,0],[7,112,7,116,0],[7,117,7,121,1],[9,45,9,49,1],[9,50,9,54,0],[11,38,11,42,1],[11,43,11,47,1],[13,51,13,105,1],[16,9,16,10,1],[17,13,17,37,1],[17,38,17,58,1],[17,59,17,70,1],[21,13,21,19,1],[22,13,22,28,1],[24,13,24,31,1],[25,9,25,10,1],[31,9,31,10,1],[32,13,32,47,1],[33,13,33,52,1],[34,9,34,10,1]]);
    </script>
  </body>
</html>